package a.e;

import a.j.g;
import a.j.jb;
import a.j.pg;

import javax.imageio.ImageWriter;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.OutputStream;

public class l
  extends k
{
  public static boolean g;
  
  public String a()
  {
    return "GIF Format";
  }
  
  public String b()
  {
    return "gif";
  }
  
  protected void a(BufferedImage paramBufferedImage, OutputStream paramOutputStream)
    throws IOException
  {
    ImageWriter localImageWriter = m.c("gif");
    if ((e.b != 0) || (localImageWriter != null))
    {
      m.a(localImageWriter, paramBufferedImage, paramOutputStream, null);
      if (e.a == 0) {}
    }
    else
    {
      throw new IOException(m.d("gif"));
    }
  }
  
  protected BufferedImage a(int paramInt1, int paramInt2)
  {
    return new BufferedImage(paramInt1, paramInt2, 2);
  }
  
  public pg a(g paramg)
  {
    pg localpg = super.a(paramg);
    jb localjb = new jb(localpg);
    localjb.a(new Color(255, 255, 255, 0));
    localpg.a(localjb);
    return localpg;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.e.l

 * JD-Core Version:    0.7.0.1

 */